package com.lagou.bean;

import com.lagou.service.DubboService;
import org.apache.dubbo.config.annotation.Reference;
import org.springframework.stereotype.Component;

@Component
public class ConsumerComponent {

    @Reference
    private DubboService dubboService;

    public String methodA(){
        return dubboService.methodA();
    }

    public String methodB(){
        return dubboService.methodB();
    }

    public String methodC(){
        return dubboService.methodC();
    }

}
